<?php

 
var_dump(boolval(new class {}));
var_dump(boolval(new stdClass));
